#!/bin/sh


# rebuilds all subprojects
# result will be placed into 
#     ./OTPD_project_(copy4qdlibs)/bin/lin/
# and ./OTPD_project_(copy4qdlibs)/OTPD_QDlibs/bin/lin

#=[ building OTPD qDroid extentions [group] =================
cd ./OTPD_QDlibs/
sh full_rb.sh
cd ../



#=[ building OTPD _solutions_and_demos ======================
cd ./_solutions_and_demos/otpd_phtmlrender/
sh full_rb_loc.sh
cd ../../

#=[ building OTPD support_software [group] ==================
cd ./_support_software/image2pbmp_convertor/
sh co.sh
cd ../../
#co.sh - ИСПРАВИТЬ!

cd ./_support_software/find_serial_escpos_printers/
sh co.sh
cp ./bin/find_serial_escpos_printers.bin ../../bin/lin/
cd ../../
#co.sh - ИСПРАВИТЬ!


#=============================================================

cp ./bin/lin/otpd_phtmlrender_probe.bin ../qDroid_Bot_Hive/bin/lin/otpd_utils/
cp ./bin/lin/image2pbmp_convertor.bin ../qDroid_Bot_Hive/bin/lin/otpd_utils/
cp ./bin/lin/find_serial_escpos_printers.bin ../qDroid_Bot_Hive/bin/lin/otpd_utils/


